//
//  PPCoverAlertView.m
//  pickpic
//
//  Created by 胡文广 on 2017/10/3.
//  Copyright © 2017年 MicroDream. All rights reserved.
//

#import "PPCoverAlertView.h"

@interface PPCoverAlertView()

@end

@implementation PPCoverAlertView
- (void)awakeFromNib{

    [super awakeFromNib];
    
    self.alertBtn.layer.masksToBounds = YES;
    self.alertBtn.layer.cornerRadius = 10;
    self.alertBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
}
+ (instancetype)coverAlertView{

    return  [[NSBundle mainBundle] loadNibNamed:@"PPCoverAlertView" owner:self options:nil][0];
}
- (IBAction)hiddenCover:(id)sender {
    
    if (self.BlockClick) {
        self.BlockClick();
    }
    
}

@end
